/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tenorclient;

import java.util.ArrayList;
import java.util.Collection;

/**
 *
 * @author Tomasz Nowak
 */
public class Conversations
{
	private ArrayList<Conversation> conversations;
	private static Conversations instance;
		
	private Conversations()
	{
		conversations = new ArrayList<>();
	}
	
	public static Conversations getInstance()
	{
		if(instance == null)
		{
			instance = new Conversations();
		}
		return instance;
	}
	
	public Collection<Conversation> getConversations()
	{
		return conversations;
	}
}
